Best Practices for CloudShell Portal

Enable dynamic compression on your IIS settings

Dynamic compression can provide faster transmission times between IIS and CloudShell Portal by compressing files from CloudShell Portal to the browser (HTML, js, css, tc).

To enable dynamic compression:

  1. Install dynamic content compression on your IIS.

    Follow the instructions on https://www.iis.net/configreference/system.webserver/httpcompression#003.

  2. Open the c:\windows\system32\inetsrv\config\applicationHost.config file and add the following keys:

    • Under <dynamicTypes>:

      <add mimeType="application/xml" enabled="true" />

      <add mimeType="application/json" enabled="true" />

    • Under <staticTypes>:

      <add mimeType="application/x-javascript" enabled="true" />

  3. Next, create the IIS website.